﻿
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Razor;
using System.Windows.Forms;
using NLog;

namespace EpubFactory.Winform
{
    static class Program
    {
        private static Logger  _log;
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            _log = LogManager.GetLogger("Hello");
            /*
            var template = File.ReadAllText(@"Templates\Default\content.ops");

            var language = new CSharpRazorCodeLanguage();
            var host = new RazorEngineHost(language);
            RazorTemplateEngine engine = new RazorTemplateEngine(host);
            
            ParserResults result = engine.ParseTemplate(new StringReader(template));            
            */
            Application.Run(new MainForm());
        }
    }
}
